package com.beibojd.pojo;

/**
 * @Author: 洪耀荣
 * @Date: 2021-06-23 20:35:03
 */
public class Result<T> {
    private String message;
    private T result;
    private int stateCode;

    public Result() {
    }

    public Result(String message, T result) {
        this.message = message;
        this.result = result;
        this.stateCode=0;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

    public Result(String message) {
        this.message = message;
    }
}
